<template>
  <el-select v-model="value" placeholder="请选择">
  	<!-- ElementUI把一些原生时间给禁了，所以要这么写才行 -->
    <el-option
      @click.native="popup(value)"
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.value">
    </el-option>
  </el-select>
</template>

<script>
  export default {
    data() {
      return {
      	value: ''
      }
    },
    //这个value没有会出错
    props:['options'],
	methods:{
		popup(value){
			this.$emit('selectorClick',value)
		}	
	}
    
  }
</script>

<style scoped>
	.el-select{
		margin-left: 5%;
		margin-bottom:10px;
	}
</style>